<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
 xmlns:a4j="http://richfaces.org/a4j"
 xmlns:rich="http://richfaces.org/rich">
  
<f:view>
<h:head></h:head>
<h:body>

   <h:form>
        <rich:toolbar height="26px">
            <rich:dropDownMenu >
                <f:facet name="label">
                    <h:panelGroup>
                        <h:outputText value="File" />
                    </h:panelGroup>
                </f:facet>
                <rich:menuItem  label="New"
                    action="#{dropDownMenuBean.doNew}" icon="/images/icons/create_doc.gif">
                </rich:menuItem>
                <rich:menuItem  label="Open"
                    action="#{dropDownMenuBean.doOpen}" icon="/images/icons/open.gif" />
                 <rich:menuItem  label="Close"
                    action="#{dropDownMenuBean.doClose}" />
                <rich:menuSeparator id="menuSeparator11" />
                <rich:menuItem  label="Exit"
                    action="#{dropDownMenuBean.doExit}" />
 
            </rich:dropDownMenu>

</rich:toolbar>
</h:form>

<rich:panel header="Richfaces running on JBoss AS 7">
 
<ul>
<li>RichFaces is a component library for JSF and an advanced framework</li>
<li>for easily integrating AJAX capabilities into business applications.</li>
</ul>
</rich:panel>
</h:body>
</f:view>
 
</html>